package cn.buildoncloud.labor.workermanapplet.business.modules.services;

import cn.buildoncloud.labor.workermanapplet.common.base.service.BaseService;

import java.util.List;
import java.util.Map;

public interface UserService extends BaseService<Map> {

    Map<String, Object> getUserByOpenId(String userId);

    void updateProfilePhoto(Long id, String urlId);

    void updateName(Long id, String name);

    List<String> getRoleCodeList(String uid);

    List<String> getScopeProjectIds(String uid);

    String getUserIdByOpenId(String openId);
}